


import java.util.List;

/**
 * Thread for computing the values of a given list of nodes
 *
 */
public class ComputeValueThread extends Thread {
	
private List<AbstractNeuron> neuronList;
	
	public ComputeValueThread(List<AbstractNeuron> list) {
		neuronList = list;
	}

	@Override
	public void run() {
		for (AbstractNeuron neuron : neuronList) {
			neuron.computeValue();
		}
	}
}
